package com.afkx.oop.demo8;

/**
 *@ClassName 人类
 *@Description  TODO
 *@Author Kx
 *@Date 2025/3/4 19:50
 *@Version 1.0
 */
public abstract class Person {
    private String name;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Person(String name){
        this.name = name;
    }

    public abstract void open();
    public abstract void close();
}
